package com.qf.shop.order.feign.api;

import com.qf.shop.common.vo.UserCarVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

@FeignClient(name = "shop-car", path = "/car")
public interface CarService {

    @PostMapping("/getUserCar")
    UserCarVo getUserCar(@RequestParam("key") String key);

    @GetMapping("/clearUserCar")
    void clearUserCar(@RequestParam("uid") String uid, @RequestParam("selectGid") String selectGid);
}
